$(document).ajaxSend(function (e,xhr,opt) {
    var token = localStorage.getItem("user_token");
    xhr.setRequestHeader("user_token_key",token);
})

function logout(){
    localStorage.removeItem("user_token");
    location.href = "/blog_login.html";
}
